package com.jun.seckill_by_jun.redis;

import com.jun.seckill_by_jun.domain.SeckillUser;

public class SeckillUserKey extends BasePrefix {
    public static final int TOKEN_EXPIRE= 3600 * 24 * 2; //默认两天;

    private SeckillUserKey(int expireSeconds,String prefix){
        super(expireSeconds,prefix);
    }
    public static SeckillUserKey token = new SeckillUserKey(TOKEN_EXPIRE,"tk");
    public static SeckillUserKey getById = new SeckillUserKey(0,"id");
}
